proc msg:commands {nick host handle arg} {
  global botnick

  set argument [lindex $arg 0]

  # if channel in argument...
  if {[string match "#*" $argument]} {
    # if valid channel...
    if {[validchan $argument]} {
      set chan $argument
      set otbn1 [lindex $arg 1]
    } else {
      putquick "NOTICE $nick :\0034ERROR - This bot is not in $argument."
      return 0
    }
  } else {
    putquick "NOTICE $nick :\0034ERROR - You need to specifiy a channel."
    return 0
  }
  
  commands $nick $handle $chan $otbn1 $host
  return 0
}









